package jch.learn.java.advanced.chapter2_InputAndOutput.objectStream;

import java.io.Serializable;

public class Orientation implements Serializable {

    private int value;

    private Orientation(int v) {
        value = v;
    }

    public static final Orientation HORIZONTAL = new Orientation(1);
    public static final Orientation VERTICAL = new Orientation(2);

}
